package listener;

public class ListenerTest {
	public static void main(String[] args) {
		StateManager manager = new StateManager();
		manager.addListener(new WakeListener());
		manager.addListener(new SleepListener());
		manager.wake();
		System.out.println("-----------------");
		manager.sleep();
	}
}
